namespace DbManager.QueryBuilder.DbEntity
{
    public abstract class AEntityTransport : IQuery
    {
        private int _id;
        private string _perevozshik;
        private string _telephonePrevozshika;
        private string _voditel;
        private string _telephoneVoditelia;
        private string _nomer;
        private string _car;
        private int _places; 
        private string _description;

        public int ID
        {
            get { return _id; }
            set { _id = value; }
        }

        public string Perevozshik
        {
            get { return _perevozshik; }
            set { _perevozshik = value; }
        }

        public string TelephonePrevozshika
        {
            get { return _telephonePrevozshika; }
            set { _telephonePrevozshika = value; }
        }

        public string Voditel
        {
            get { return _voditel; }
            set { _voditel = value; }
        }

        public string TelephoneVoditelia
        {
            get { return _telephoneVoditelia; }
            set { _telephoneVoditelia = value; }
        }

        public string Nomer
        {
            get { return _nomer; }
            set { _nomer = value; }
        }

        public string Car
        {
            get { return _car; }
            set { _car = value; }
        }

        public string Description
        {
            get { return _description; }
            set { _description = value; }
        }

        public int Places
        {
            get { return _places; }
            set { _places = value; }
        }

        public abstract string GetSelectQuery();
        public abstract string GetInsertQuery();
        public abstract string GetUpdateQuery();
        public abstract string GetDeleteQuery();
    }
}